package Core;

public class GameThread extends Thread {
	public boolean isRunning;
	
	private Engine _engine;
	
	public GameThread(Engine engine){
		this._engine = engine;
	}
	
	public void run() {
		while(this.isRunning){
			if(this._engine.CurrentView != null){
				//this._engine.CurrentView.loop(this._engine);
			}
			
			this._engine.Gdi.Flush();
		}
	}
}
